package cn.jimmie.lib.qlog.interceptor;

import cn.jimmie.lib.qlog.QLogLevel;

/**
 * Func : 拦截器需要实现的基本功能
 *
 * <p> Create Time:  2019-12-18 10:48 </p>
 * <p> @author Jimmie.Qian  </p>
 */
public interface Interceptor {

    void init(HeaderInterceptor header);

    boolean enabled();

    void enabled(boolean enable);

    void submit(QLogLevel level, String message);

    void release();
}
